package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 规则配置中间对象 his_engine_rule
 * 
 * @author Alan
 * @date 2024-03-07
 */
public class HisEngineRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规则配置id */
    private Long id;

    /** 规则分组id */
    @Excel(name = "规则分组id")
    private Long ruleGroupId;

    /** 规则类型，33:诊疗科目规则,34:药物预警，35:处方权预警，36:患者年龄规则，37:诊疗科目规则,40:校验期逾期预警规则,41:执业许可证逾期预警规则 */
    @Excel(name = "规则类型，33:诊疗科目规则,34:药物预警，35:处方权预警，36:患者年龄规则，37:诊疗科目规则,40:校验期逾期预警规则,41:执业许可证逾期预警规则")
    private Long ruleType;

    /** 优先级 */
    @Excel(name = "优先级")
    private Long priority;

    private String value;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRuleGroupId(Long ruleGroupId) 
    {
        this.ruleGroupId = ruleGroupId;
    }

    public Long getRuleGroupId() 
    {
        return ruleGroupId;
    }
    public void setRuleType(Long ruleType) 
    {
        this.ruleType = ruleType;
    }

    public Long getRuleType() 
    {
        return ruleType;
    }
    public void setPriority(Long priority) 
    {
        this.priority = priority;
    }

    public Long getPriority() 
    {
        return priority;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ruleGroupId", getRuleGroupId())
            .append("ruleType", getRuleType())
            .append("priority", getPriority())
            .append("createTime", getCreateTime())
            .toString();
    }
}
